/**
* Interface with constants for communication
*
* Project: idbcrown
* Author:  TM
* Date:    03/01/2012
*
* History
* ------------------
* 03/01/2012 - TM - Initial version.
*/
 
 
package comm;

public interface constantsInterface
{
    /** Constants */
    public static String prefixAction       = "action";
    public static String insertAction       = "INSERT_VALUE";
    public static String getValuesAction    = "GET_VALUES";
    public static String isUserOk           = "IS_USER_OK";
    /** Data Field Names for incidence insertion */
    public static String idDevice           = "InfoDevice";
    public static String idMeasure          = "InfoMeasure";
    public static String value              = "InfoValue";
    /** Constants for DBServlet */
    public static final String DB_PREF_ACTION = "?action=";
    public static final String PROTOCOL       = "SERVLET_PROTOCOL";
    public static final String HOST           = "SERVLET_HOST";
    public static final String PORT           = "SERVLET_PORT";
    public static final String URI            = "SERVLET_URI";
    public static final String ERROR          = "Error: 404";
    /** Configuration constants */
    public static final String LOGO_PATH      = "LOGO_PATH";
    
    /** XML Constants */
    public static final String DEVICE_TAG      = "Device";
    public static final String MEASURE_TAG     = "Measure";
    public static final String VALUE_TAG       = "Value";
    

}